package t1;

import java.util.List;

/**
 * 加学生
 *
 */
public class AddStudent {
	public List<StudentBean> addStudent(List<StudentBean> studentList, String name, String major) {
		StudentBean student = new StudentBean(name, major);
		studentList.add(student);
		return studentList;
	}
}
